/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pa165.pneuservis.soap.sei;

import cz.muni.fi.pa165.pneuservis.soap.dto.CustomerDTO;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 *
 * @author Admin
 */
@WebService()
public interface CustomerSEI {
    
    public void createCustomer(@WebParam(name="customer") CustomerDTO customer);
    public void updateCustomer(@WebParam(name="customer") CustomerDTO customer);
    public void removeCustomer(@WebParam(name="customer") CustomerDTO customer);
    public CustomerDTO getCustomer(@WebParam(name="id") Long id);
    public CustomerDTO[] getAllCustomers();
    public CustomerDTO[] findCustomerByName(@WebParam(name="name") String name);
}
